package cn.fl.institution.service;

import java.util.List;

import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.institution.condition.PrjInsRfeRecordQC;
import cn.fl.institution.vo.PrjInsRfeRecordVO;

/**
 * @Description: 资方补件记录表 客户端服务层接口
 * @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 批量：batch* 查询集合：search*
 */
public interface IPrjInsRfeRecordService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public PrjInsRfeRecordVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(PrjInsRfeRecordVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;
    
    /**
     * 删除
     * @param ids
     * @return
     */
    public boolean removeByIds(List<Long> ids)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(PrjInsRfeRecordVO entity)throws BaseException;

    /**
      * @Author yangzhongkun
      * @params [qc]
      * @Description 查询补件记录列表信息
      * @Date 2020/6/23 18:26
      * @return java.util.List<cn.fl.institution.vo.PrjInsRfeRecordVO>
      **/
    public List<PrjInsRfeRecordVO> queryAll(PrjInsRfeRecordQC qc) throws BaseException;
    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;

	/**
	 * @Author yangzhongkun
	 * @params [page]
	 * @Description 分页查询资方补件记录表
	 * @Date 2020/6/24 13:57
	 * @return java.util.List<cn.fl.institution.po.PrjInsRedmInfo>
	 **/
	Pager searchInsRfeRecordListPage(Pager page) throws BaseException;

	/**
	  * @Author yangzhongkun
	  * @params []
	  * @Description 补件状态
	  * @Date 2020/6/23 16:02
	  * @return java.util.List<cmm.mid.core.framework.page.KeyValueVO>
	  **/
    public List<KeyValueVO> getCompltStsList() throws BaseException;

    /**
      * @Author yangzhongkun
      * @params []
      * @Description 查询补件节点类型
      * @Date 2020/6/23 16:07
      * @return java.util.List<cmm.mid.core.framework.page.KeyValueVO>
      **/
    public List<KeyValueVO> getCompltNodeList() throws BaseException;

	/**
	 * @Author yangzhongkun
	 * @params []
	 * @Description 查询资方付款状态
	 * @Date 2020/6/23 16:07
	 * @return java.util.List<cmm.mid.core.framework.page.KeyValueVO>
	 **/
	public List<KeyValueVO>  getPayStsCdList() throws BaseException;
    
}
